package cn.ywang.spring.customized.framework.beans;

/**
 * 存储配置文件中的信息
 * 相当于保存在内存中的配置
 *
 * @author BeatificWang
 */
public class BeanDefinition {

	/**
	 * bean的类名，全路径
	 */
	private String beanClassName;

	/**
	 * bean的名称，默认类名首字母小写
	 */
	private String factoryBeanName;

	/**
	 * 是否延迟加载
	 */
	private boolean lazyInit = false;

	public String getBeanClassName() {

		return this.beanClassName;
	}

	public void setBeanClassName(String beanClassName) {

		this.beanClassName = beanClassName;
	}

	public String getFactoryBeanName() {
		return this.factoryBeanName;
	}

	public void setFactoryBeanName(String factoryBeanName) {
		this.factoryBeanName = factoryBeanName;
	}

	public boolean isLazyInit() {
		return false;
	}

	public void setLazyInit(boolean lazyInit) {
		this.lazyInit = lazyInit;
	}
}
